package com.ruoyi.testes.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.testes.mapper.EmployeeeMapper;
import com.ruoyi.testes.domain.Employeee;
import com.ruoyi.testes.service.IEmployeeeService;

/**
 * 员工testService业务层处理
 * 
 * @author dalang
 * @date 2023-11-17
 */
@Service
public class EmployeeeServiceImpl implements IEmployeeeService 
{
    @Autowired
    private EmployeeeMapper employeeeMapper;

    /**
     * 查询员工test
     * 
     * @param id 员工test主键
     * @return 员工test
     */
    @Override
    public Employeee selectEmployeeeById(Long id)
    {
        return employeeeMapper.selectEmployeeeById(id);
    }

    /**
     * 查询员工test列表
     * 
     * @param employeee 员工test
     * @return 员工test
     */
    @Override
    public List<Employeee> selectEmployeeeList(Employeee employeee)
    {
        return employeeeMapper.selectEmployeeeList(employeee);
    }

    /**
     * 新增员工test
     * 
     * @param employeee 员工test
     * @return 结果
     */
    @Override
    public int insertEmployeee(Employeee employeee)
    {
        return employeeeMapper.insertEmployeee(employeee);
    }

    /**
     * 修改员工test
     * 
     * @param employeee 员工test
     * @return 结果
     */
    @Override
    public int updateEmployeee(Employeee employeee)
    {
        return employeeeMapper.updateEmployeee(employeee);
    }

    /**
     * 批量删除员工test
     * 
     * @param ids 需要删除的员工test主键
     * @return 结果
     */
    @Override
    public int deleteEmployeeeByIds(Long[] ids)
    {
        return employeeeMapper.deleteEmployeeeByIds(ids);
    }

    /**
     * 删除员工test信息
     * 
     * @param id 员工test主键
     * @return 结果
     */
    @Override
    public int deleteEmployeeeById(Long id)
    {
        return employeeeMapper.deleteEmployeeeById(id);
    }
}
